-- GENERATED SPELL FOR [Argent Crusade Rifleman] --


function spell0_27351(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(15547,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27351', 624, 1)
end

function Sorts_27351(pUnit, Event)
local choix_sorts_27351 = math.random(0, 0)
if choix_sorts_27351 == 0 then
pUnit:RegisterEvent('spell0_27351', 1, 1)
end
end

function mob27351_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27351', math.random(1500, 3000), 1)
end

function mob27351_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27351_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27351_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27351, 1, 'mob27351_Action')
RegisterUnitEvent(27351, 2, 'mob27351_Leave')
RegisterUnitEvent(27351, 3, 'mob27351_Kill')
RegisterUnitEvent(27351, 4, 'mob27351_Die')
